var crypto = require('crypto');
var core = require('core');
var wechat = core.wechat;
var util = core.util;

var sign = function(req, res, next){
    var jssdk = wechat.getJSSDK(req.query.url, true);
    var SEND = new core.send(0);
    SEND.docs = jssdk;
    res.send(SEND);
};

module.exports = sign;
